//
//  CircleRound.h
//  Project5
//
//  Created by Nguyen Tan Loc on 5/18/13.
//  Copyright (c) 2013 Nguyen Tan Loc. All rights reserved.
//

#import "CCNode.h"
#import "CircleSegment.h"
#import "Bullet.h"

@interface CircleRound : NSObject
{
    NSMutableArray *m_ArrSegment;
    float m_Radius;
    BOOL  m_IsDestroy;
}

@property (readonly) float _radius;
@property (readonly) BOOL  _isDestroy;

-(id) initWithRadius:(float)radius listSegment:(NSArray *)listSegment;
-(void) addSpriteToBatch:(CCSpriteBatchNode *)batch;
-(void) appearWithTime:(ccTime)t;
-(void) setPosition:(CGPoint)p;
-(void) setRotationSpeed:(float)speed;
-(void) stopRotation;
-(BOOL) isCollideBulletWithDistance:(float)d bullet:(Bullet *)b;
-(void) destroyWithDelay:(float)d;

@end
